<html>
  <head>
    <title>Simple DB - Editing Item {{ item.key|escape }}</title>
    <link type="text/css" rel="stylesheet" href="/css/simpledb.css" />
  </head>

  <body>
	{% if item %}
	<strong>{{ item.key|escape }}</strong>
	{% endif %}


    <form action="/put" method="post">
	  <input type="hidden" name="ui" value="true" />
	  <input type="hidden" name="key" value="{{item.key}}" />
      <div><textarea name="content" rows="3" cols="60">{{item.content}}</textarea></div>
      <div><input type="submit" value="Update Item"></div>
    </form>
	
	<a href="/">Home</a>

  </body>
</html>
